import request from '@/util/request'

export function listErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/list',
    method: 'post',
    data
  })
}
export function listErpSiteRegionByUser(data) {
  return request({
    url: '/erp/site/region/listByUser',
    method: 'post',
    data
  })
}

export function pageGetErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/pageGet',
    method: 'post',
    data
  })
}

export function insertErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/insert',
    method: 'post',
    data
  })
}

export function updateErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/update',
    method: 'post',
    data
  })
}

export function deleteErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/delete',
    method: 'post',
    data
  })
}

export function getErpSiteRegion(data) {
  return request({
    url: '/erp/site/region/get',
    method: 'post',
    data
  })
}

